# -*- coding: UTF-8 -*-
# *******************************************************************
# File Name: generate_sample
# > Author: 04000387
# > Created Time: 2024/12/26 9:16
# *******************************************************************
from tool import generate_img_text, generate_general_image, generate_background_image, generate_init_sample
# 生成带背景图片的文字
# img_path = "D:\\deepl_git\\generate_dir\\Images\\static_sun09_database"
# txt_path = "D:\\deepl_git\\generate_dir"
# generate_img_text(img_path, txt_path, _img_num=2, font_size=30)
#
# # 对现有数据集进行提取
# ocr_path = ""
# ocr_out_path = "../generate/ocr"
# generate_general_image(ocr_path, ocr_out_path, _num=2)
#
# # 生成背景图片
# background_image_path = "D:\\deepl_git\\generate_dir\\Images"
# background_image_out_path = "../generate/background"
# generate_background_image(background_image_path, background_image_out_path, _num=2)


# 生成纯色背景文字图片
pure_color_background_color = "../generate/pure"
generate_init_sample(pure_color_background_color, _num=2)
